package loan.calc.service.loan;

import com.baomidou.mybatisplus.extension.service.IService;
import loan.calc.domain.LoanRepaySegmentDO;
import loan.calc.dto.LoanRepaySegmentDTO;

import java.util.List;

public interface LoanRepaySegmentService extends IService<LoanRepaySegmentDO> {

    void setSegmentId(LoanRepaySegmentDTO loanRepaySegment, Long id);

    List<LoanRepaySegmentDTO> getLoanRepaySegmentListByLoanId(Long loanId);
}
